package com.neusoft.neuiotms.dcam;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

import com.neusoft.bizcore.activiti.annotation.EnableBizcoreActiviti;
import com.neusoft.bizcore.cache.annotation.EnableBizcoreCache;
import com.neusoft.bizcore.cloud.annotition.EnableBizcoreCloud;
import com.neusoft.bizcore.mom.annotation.EnableBizcoreMom;
import com.neusoft.bizcore.schedule.annotition.EnableBizcoreSchedule;
import com.neusoft.neuiotms.common.annotition.EnableNeuiotmsCommon;
import com.neusoft.neuiotms.micro.config.EnableNeuiotmsMicro;

import springfox.documentation.swagger2.annotations.EnableSwagger2;

@EnableBizcoreCloud
@EnableFeignClients
@EnableSwagger2
@EnableBizcoreSchedule
@EnableNeuiotmsMicro
@EnableBizcoreMom
@EnableAutoConfiguration
@EnableBizcoreActiviti
@EntityScan({"com.neusoft.bizcore.activiti.model", "com.neusoft.neuiotms.dcam", "com.neusoft.neuiotms.common" })
@EnableJpaRepositories(basePackages = {"com.neusoft.bizcore.activiti", "com.neusoft.neuiotms.dcam",
        "com.neusoft.neuiotms.common" })
@EnableBizcoreCache
@EnableNeuiotmsCommon
@SpringBootApplication
public class DcamApplication {
    public static void main(final String[] args) {
        SpringApplication.run(DcamApplication.class, args);
    }
}
